using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("MTUHA_ReportSections")]
    public partial class MTUHA_ReportSections
    {
        public MTUHA_ReportSections()
        {
            this.MTUHA_ReportSectionDetails = new List<MTUHA_ReportSectionDetails>();
        }

        [Key
        ]
        public int SectionId { get; set; }
        public int MTUHAReportId { get; set; }
        public int SectionNumber { get; set; }

        [Required]
        [StringLength(255)]
        public string Name { get; set; }

        [ForeignKey("MTUHAReportId")]
        public virtual MTUHA_Reports MTUHA_Reports { get; set; }
        public virtual List<MTUHA_ReportSectionDetails> MTUHA_ReportSectionDetails { get; set; }
    }
}
